package com.ruoyi.ufox.mapper;


import com.ruoyi.ufox.domain.BisDeviceDataDay;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 数据日统计Mapper接口
 * 
 * @author ufoxs
 * @date 2022-08-17
 */
public interface BisDeviceDataDayMapper 
{
    /**
     * 查询数据日统计
     * 
     * @param recordId 数据日统计主键
     * @return 数据日统计
     */
    public BisDeviceDataDay selectBisDeviceDataDayByRecordId(Long recordId);

    /**
     * 查询数据日统计列表
     * 
     * @param bisDeviceDataDay 数据日统计
     * @return 数据日统计集合
     */
    public List<BisDeviceDataDay> selectBisDeviceDataDayList(BisDeviceDataDay bisDeviceDataDay);

    /**
     * 新增数据日统计
     * 
     * @param bisDeviceDataDay 数据日统计
     * @return 结果
     */
    public int insertBisDeviceDataDay(BisDeviceDataDay bisDeviceDataDay);

    /**
     * 修改数据日统计
     * 
     * @param bisDeviceDataDay 数据日统计
     * @return 结果
     */
    public int updateBisDeviceDataDay(BisDeviceDataDay bisDeviceDataDay);

    /**
     * 删除数据日统计
     * 
     * @param recordId 数据日统计主键
     * @return 结果
     */
    public int deleteBisDeviceDataDayByRecordId(Long recordId);

    /**
     * 批量删除数据日统计
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBisDeviceDataDayByRecordIds(Long[] recordIds);

    List<BisDeviceDataDay> getTimg(@Param("deviceCode") String deviceCode, @Param("date") String date);
}
